The implicit event_expression, @*, is a convenient shorthand that eliminates these problems by adding all nets and variables that are read by the statement (which can be a statement group) of a proceduraltiming control_statement to the event_expression.
“*”指代,当前always语句块内的所有输入变量的变化
如下代码所示的定时器
|
|
always @ (*)中,“*”指代的是当前always中的敏感变量“time_cnt”,而不是全局的CLK_50M或RST_EN
即always @ (*) = always @ (time_cnt)